package web.tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;

public class ShowSystemFooterTag extends SimpleTagSupport {

    /**
     * 展示系统页脚
     *
     * @throws JspException JSP异常
     * @throws IOException IO异常
     */
    @Override
    public void doTag() throws JspException, IOException {
        JspWriter out = getJspContext().getOut();
        String outPrint = "<hr>\n" +
                "<p style=\"text-align: center\">&copy; 2023 校园社团管理系统</p>\n";
        out.write(outPrint);
    }
}
